package io.renren.modules.newBackground.order.controller;

import io.renren.modules.newBackground.order.dto.OrderManageQueryReq;
import io.renren.modules.newBackground.order.service.OrderManageService;
import io.renren.modules.newBackground.shanDongCmcc.dto.ShanDongCmccBackGroundReq;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yun lang
 * @version 1.0
 * @description: 后台-订单管理
 * @date 2025/1/31 10:45
 */
@RestController
@RequestMapping("background/orderManage")
@Api(tags="后台-订单管理")
@AllArgsConstructor
public class OrderManageController {
    private static final Logger logger = LoggerFactory.getLogger(OrderManageController.class);

    private final OrderManageService orderManageService;

    @PostMapping("/orders")
    public void ordersQuery(@RequestBody OrderManageQueryReq orderReq){
        logger.info("后台-订单管理-查询请求参数:{}", orderReq);
        orderManageService.ordersQuery(orderReq);
    }

}
